<?php
/**
 * 模型基类
 */
namespace core\lib;

use core\lib\config;
use Medoo\Medoo;

class model extends Medoo
{

    public function __construct()
    {
        $option = config::getAll('db');//获取db.php所有配置
        parent::__construct($option);
    }


}